﻿using RockBus.Monitoring.DataContracts;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace RockBus.MonitoringService.Interfaces
{
    [ServiceContract(Namespace = NamespaceConstants.MonitoringNamespace)]
    public interface IMonitoringService
    {
        [OperationContract]
        [WebGet(UriTemplate = "/", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle=WebMessageBodyStyle.Bare)]
        PerformanceCountersResponse GetCounters();
    }
}